﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace PeaceBlog.Helpers
{
    public class SEOHelper
    {
        public static void PingSiteMap()
        {
            try
            {
                System.Net.WebRequest reqGoogle = System.Net.WebRequest.Create("http://www.google.com/webmasters/tools/ping?sitemap=" + HttpUtility.UrlEncode("http://www.aspmvcnet.com/sitemap.xml"));
                reqGoogle.GetResponse();
            }
            catch 
            {
                
            }
        }
    }
}